<div class="row">
	<div class="col-xs-12">
		<div class="row well well-sm">
			<div class="col-xs-12 col-sm-9 col-sm-offset-1"><?php
			echo form_open(null,array(
				'class'=>'form-horizontal','role'=>'form'
			));
				?>
				<div class="form-group">
					<label class="col-sm-3 col-md-3 col-lg-2 control-label">Tên Khách Hàng:</label>
					<div class="col-sm-9 col-md-9 col-lg-10"><?php
						echo form_input(array(
							'name'=>'ten-khach-hang','value'=>set_value('ten-khach-hang'),
							'class'=>'form-control','required'=>'required',
							'placeholder'=>'Tên Khách Hàng'
						));
						echo form_error('ten-khach-hang');
					?></div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 col-md-3 col-lg-2 control-label">Email:</label>
					<div class="col-sm-9 col-md-9 col-lg-10"><?php
						echo form_input(array(
							'name'=>'email','value'=>set_value('email'),
							'class'=>'form-control','required'=>'required',
							'placeholder'=>'Email'
						));
						echo form_error('email');
					?></div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 col-md-3 col-lg-2 control-label">Số ĐT:</label>
					<div class="col-sm-9 col-md-9 col-lg-10"><?php
						echo form_input(array(
							'name'=>'so-dt','value'=>set_value('so-dt'),
							'class'=>'form-control','required'=>'required',
							'placeholder'=>'Số Điện Thoại'
						));
						echo form_error('so-dt');
					?></div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 col-md-3 col-lg-2 control-label">Địa Chỉ:</label>
					<div class="col-sm-9 col-md-9 col-lg-10"><?php
						echo form_input(array(
							'name'=>'dia-chi','value'=>set_value('dia-chi'),
							'class'=>'form-control','required'=>'required',
							'placeholder'=>'Địa Chỉ'
						));
						echo form_error('dia-chi');
					?></div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 col-md-3 col-lg-2 control-label">Id Mod:</label>
					<div class="col-sm-9 col-md-9 col-lg-10"><?php
						echo form_input(array(
							'name'=>'sh-mod','value'=>set_value('sh-mod'),
							'class'=>'form-control','required'=>'required',
							'placeholder'=>'ShMod'
						));
						echo form_error('sh-mod');
					?></div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 col-md-3 col-lg-2 control-label">Id User:</label>
					<div class="col-sm-9 col-md-9 col-lg-10"><?php
						echo form_input(array(
							'name'=>'sh-user','value'=>set_value('sh-user'),
							'class'=>'form-control','required'=>'required',
							'placeholder'=>'ShUser'
						));
						echo form_error('sh-user');
					?></div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 col-md-3 col-lg-2 control-label">Tổng Tiền:</label>
					<div class="col-sm-9 col-md-9 col-lg-10"><?php
						echo form_input(array(
							'name'=>'tong-tien','value'=>set_value('tong-tien'),
							'class'=>'form-control','required'=>'required',
							'placeholder'=>'Tổng Tiền'
						));
						echo form_error('tong-tien');
					?></div>
				</div>
				<div class="form-group">
					<label class="col-sm-3 col-md-3 col-lg-2 control-label">Tình trạng:</label>
					<div class="col-sm-9 col-md-9 col-lg-10"><?php
						echo '<label class="label label-default">'.form_checkbox(array(
							'type'=>'radio','name'=>'tinh-trang','style'=>'vertical-align:-3px',
							'value'=>'0','checked'=>set_checkbox('tinh-trang','0')
						)).' Duyệt</label> &nbsp;&nbsp';
						echo '<label class="label label-default">'.form_checkbox(array(
							'type'=>'radio','name'=>'tinh-trang','style'=>'vertical-align:-3px',
							'value'=>'1','checked'=>set_checkbox('tinh-trang','1',true)
						)).' Chưa Duyệt</label>';
						echo form_error('tinh-trang');
					?></div>
				</div>
				
				<div class="form-group">
					<div class="col-sm-offset-5 col-md-offset-4 col-lg-offset-3 col-sm-7 col-md-8 col-lg-9"><?php
						echo form_submit(array(
							'name'=>'submit','value'=>'Thêm tin tức',
							'class'=>'btn btn-default'
						)).' '.form_reset(array(
							'name'=>'reset','value'=>'Nhập lại',
							'class'=>'btn btn-default'
						));
					?></div>
				</div><?php
			echo form_close();
			?></div>
		</div>
	</div>
</div>
<script>
$('.bbcode').sceditor({
	toolbarExclude :'emoticon,cut,copy,paste,print',
	//toolbar:'bold,commandasd,source',
	emoticonsEnabled:false,
	plugins:"bbcode",
	style:"<?php echo base_url('/assets/css/default.min.css'); ?>"
});
</script>